package com.xrc.HomeWork.Student;

public class Test {
    public static void main(String[] args) {
        Students xrc=new Students();
        xrc.setName("解润才");
        xrc.setAge(20);
        xrc.study();
        xrc.work();
        xrc.eat("小龙虾");
        Teacher teacher=new Teacher();
        teacher.setName("朱哥");
        teacher.setAge(30);
        teacher.speak("java");
        teacher.work();
        teacher.eat("大盘鸡");
    }
}
